﻿using System;

using System.Collections.Generic;
using System.Text;

namespace Silvermoon.Controls.Classes
{
    /// <summary>
    /// Describes where the context menu will appear relative to the control that invokes the menu.
    /// </summary>
    public enum MenuPosition
    {
        /// <summary>
        /// Appears over the control, either at the right or the left, depending on which side is more space.
        /// </summary>
        Top,

        /// <summary>
        /// Appears under the control, either at the right or the left, depending on which side is more space.
        /// </summary>
        Bottom,

        /// <summary>
        /// Appears left to the control, either at top or bottom, depending on which side is more space.
        /// </summary>
        Left,

        /// <summary>
        /// Appears left to the control, either at top or bottom, depending on which side is more space.
        /// </summary>
        Right,
            
        TopLeft,
        TopRight,
        BottomLeft,
        BottomRight,
        LeftTop,
        LeftBottom,
        RightTop,
        RightBottom,

        /// <summary>
        /// The position of the menu is customized.
        /// </summary>
        Custom
    }
}
